import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 查询数据
export const getPartOrderInfo = params => axios.get(`${SERVER.DMSCLOUD_PART}/partsoOrderDtlInfo/getPartOrderInfo`, { params });
// 查询网点
export const getPartNetwork = params => axios.get(`${SERVER.DMSCLOUD_PART}/partsoOrderDtlInfo/getPartNetwork`, { params });
// 查询备件明细
export const getPurchaseOrderPart = id => axios.get(`${SERVER.DMSCLOUD_PART}/partsoOrderDtlInfo/getPurchaseOrderPart/${id}`, {});
// 查询主单明细
export const getPurchaseOrderInfo = id => axios.get(`${SERVER.DMSCLOUD_PART}/partsoOrderDtlInfo/getPurchaseOrderInfo/${id}`, {});
